package com.wayhome.srpingbootmybatis.ims.dao;

import com.github.pagehelper.Page;
import com.wayhome.srpingbootmybatis.ims.dto.DailyPendingDoubtsDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

@Mapper
public interface DoubtsStatisticsDAO {

    Integer queryNeedHandleDocsCnt();

    List<String> queryNeedHandleDocIds();

    List<DailyPendingDoubtsDO> queryNeedHandleDoc(@Param("docIds") List<String> docIds);

    boolean batchSaveDailyDocTask(List<DailyPendingDoubtsDO> list);

    boolean deleteDataForDate(Date date);
}
